package item.inkcloud.userservice.feignService;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("distribution-service")
public interface DistributionService {

    @RequestMapping("/addProvinceCount")
    int addCount(@RequestParam("province") String province);

    @RequestMapping("/exchangeProvince")
    int exchangeProvince(@RequestParam("oldProvince") String oldProvince,@RequestParam("newProvince") String newProvince);

}
